<script setup lang="ts">
// import { ref } from 'vue';

const props = defineProps<{
	loading?: boolean;
	empty?: boolean;
}>();

</script>

<template>
	<div>
		<div v-if="props.loading" class="text-center pt30 pb30 bg-white">
			<slot name="loading">
				<a-spin></a-spin>
			</slot>
		</div>
		<div v-else-if="props.empty" class="p20 pb30 text-center bg-white">
			<slot name="empty">
				<a-empty></a-empty>
			</slot>
		</div>
		<slot v-else></slot>
	</div>
</template>
